from models import insert

def new_user(user):
    from core.blueprints import PersonalInformation, PersonalIdentity
    insert(user)
    insert(PersonalInformation(uid=user.id))
    insert(PersonalIdentity(uid=user.id))